package com.lingyuan.discounts.enumParam;

/**
 * @Author: Li Hao Xuan
 * @name: useType
 * @Description TODO
 */
public enum UseType {
    UNUSED(0, "未使用"),
    HAVE_BEEN_USED(1, "已使用"),
    HAVE_EXPIRED(2, "已过期");

    private Integer code;
    private String message;

    UseType(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}

